package practice05;

import practice07.Klass;

public class Student extends Person{
    private int Klass;
    public Student(String name,int age,int Klass){
        super(name,age);
        this.Klass = Klass;
    }

    public int getKlass() {
        return Klass;
    }

    public String introduce() {
        return "My name is "+ getName()+". I am "+ getAge()+" years old. I am a Student. I am at Class "+Klass+".";
    }
}
